var mysql = require('mysql');

function dbConn() {
    var connection = mysql.createConnection({
        host: 'localhost',
        user: 'root',
        password: '123456',
        database: 'mytest'
    });
    return connection
}

module.exports = dbConn